<form name="form" class="form-horizontal passport-wrapper" novalidate ng-submit="updateOfficer(form.$valid)">
    <div style="color:#fff;overflow-y:auto;overflow-x:hidden;height: 100%">
        <div class="passport-cancel">
            <button class="glyphicon glyphicon-remove" type="button"
                    ng-click="clearOfficerVerifyModal()"></button>
        </div>
        <div class="passport-content passport-sign-up g-table-wrapper" style="width: 100%">
            <div class="g-table-cell">
                <div class="passport-head">
                    完善个人信息
                    <!--<small>完善详细信息，将获得更精准的技术项目信息</small>-->
                    <div style="font-size: 16px;">
                        完善详细信息，将获得更精准的技术项目信息推荐
                    </div>
                </div>
                <div class="passport-body" style="padding-bottom: 50px;">

                    <div class="form-group form-group-sm row">
                        <!--ng-class="{'has-error': clicked && partnerInfo.areas.length === 0}">-->

                        <label class="col-xs-offset-2 col-xs-8">
                            <strong>渠道领域</strong>
                            <small>您的社会资源涉略，平台将推送相关领域的项目信息</small>
                        </label>

                        <div class="col-xs-offset-2 col-xs-8">
                            <label class="checkbox-inline" ng-repeat="value in demandFields.areas">
                                <input type="checkbox" name="areas" value="{{value}}"
                                       ng-checked="partnerInfo.areas.indexOf(value)!==-1"
                                       meta-form-checkbox="partnerInfo.areas">
                                {{value}}
                            </label>
                        </div>

                        <div class="col-xs-2" ng-show="clicked && partnerInfo.areas.length===0">
                            <!--<span class="error-tips">至少选1个</span>-->
                        </div>

                    </div>

                    <div class="form-group form-group-sm row"
                         ng-class="{'has-error': clicked && form.organization.$invalid}">

                        <label class="col-xs-offset-2 col-xs-8">
                            <strong>工作单位</strong>
                        </label>

                        <div class="col-xs-offset-2 col-xs-8">
                            <input type="text" name="organization" class="form-control"
                                   ng-model="partnerInfo.organization"
                                   placeholder="工作单位">
                        </div>

                        <div class="col-xs-2" ng-messages="form.organization.$error" ng-show="clicked">
                            <span class="error-tips" ng-messages-include="my-custom-messages"></span>
                        </div>

                    </div>

                    <div class="form-group form-group-sm row"
                         ng-class="{'has-error': clicked && form.department.$invalid}">

                        <label class="col-xs-offset-2 col-xs-8">
                            <strong>部门</strong>
                        </label>

                        <div class="col-xs-offset-2 col-xs-8">
                            <input type="text" name="department" class="form-control"
                                   ng-model="partnerInfo.department"
                                   placeholder="部门">
                        </div>

                        <div class="col-xs-2" ng-messages="form.department.$error" ng-show="clicked">
                            <span class="error-tips" ng-messages-include="my-custom-messages"></span>
                        </div>

                    </div>

                    <div class="form-group form-group-sm row"
                         ng-class="{'has-error': clicked && form.post.$invalid}">

                        <label class="col-xs-offset-2 col-xs-8">
                            <strong>职务</strong>
                        </label>

                        <div class="col-xs-offset-2 col-xs-8">
                            <input type="text" name="post" class="form-control"
                                   ng-model="partnerInfo.post"
                                   placeholder="职务">
                        </div>

                        <div class="col-xs-2" ng-messages="form.post.$error" ng-show="clicked">
                            <span class="error-tips" ng-messages-include="my-custom-messages"></span>
                        </div>

                    </div>

                    <div class="form-group form-group row">
                        <!--ng-class="{'has-error': clicked && partnerInfo.areas.length === 0}">-->

                        <label class="col-xs-offset-2 col-xs-8">
                            <strong>常驻地</strong>
                            <small>平台将就近推送项目信息，降低您的商务成本</small>
                        </label>

                        <div class="col-xs-offset-2 col-xs-8">
                            <!--<div class="col-xs-3" style="padding:0">-->
                            <ui-select multiple ng-model="partnerInfo.camp">
                                <ui-select-match>
                                    <span ng-bind="$item"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="item in provinces | filter: $select.search">
                                    <span ng-bind="item"></span>
                                </ui-select-choices>
                            </ui-select>
                            <!--</div>-->

                            <!--<div class="col-xs-6">-->
                            <!--<input class="form-control col-xs-6" type="text" ng-model="formData.enterpriseInfo.district"-->
                            <!--name="enterpriseInfoDistrict"-->
                            <!--placeholder="街道地区"/>-->
                            <!--</div>-->
                        </div>

                        <div class="col-xs-2" ng-show="clicked && partnerInfo.camp.length===0">
                            <!--<span class="error-tips">至少选1个</span>-->
                        </div>

                    </div>

                    <div class="form-group form-group-sm row"
                         ng-class="{'has-error': clicked&& form.projectExperience.$invalid}">

                        <label class="col-xs-offset-2 col-xs-8">
                            <strong>项目经验</strong>
                            <small></small>
                        </label>

                        <div class="col-xs-offset-2 col-xs-8">
                        <textarea class="form-control" ng-model="partnerInfo.projectExperience"
                                  name="projectExperience" title="技术需求目前的技术问题、需求场景等信息"
                                  placeholder="技术需求目前的技术问题、需求场景等信息" froala="CONFIG.froalaOptions"></textarea>
                        </div>

                        <div class="col-xs-2" ng-messages="form.projectExperience.$error" ng-show="clicked">
                            <span class="error-tips" ng-messages-include="my-custom-messages"></span>
                        </div>

                    </div>

                    <div class="form-group form-group-sm">

                        <label class="col-xs-offset-2 col-xs-8">
                            <strong>上传简历</strong>
                            <small></small>
                        </label>
                        <div class="col-xs-offset-2 col-xs-8">
                            <p class="form-control-static">
                                <a target="_blank" ng-href="{{partnerInfo.resume.link||'javascript:void(0)'}}"
                                   ng-bind="partnerInfo.resume.name||'无'"></a>
                            </p>
                            <meta-single-qnuploader class="meta-qnuploader meta-single-qnuploader"
                                                    uploader-config="CONFIG.qnuploader"
                                                    uploader-data="partnerInfo.resume"></meta-single-qnuploader>
                        </div>


                    </div>
                </div>

            </div>
        </div>
    </div>
    <div class="form-group form-group-sm officer-verify-submit">
        <div>
            <button type="submit" class="btn btn-default btn-sm">保存</button>
        </div>
        <!--<button type="button" class="btn btn-default btn-sm" ng-click="reset()">重置</button>-->
    </div>
</form>
